package com.xilian.coder.pulltorefreshrecyclerview.header;

import android.graphics.Rect;
import android.support.v7.widget.RecyclerView;

/**
 * Created by Administrator on 2017/6/5.
 */

public class Header extends BaseHeader {
    @Override
    public void getItemOffsets(Rect outRect, int itemPosition, RecyclerView parent) {
        if (itemPosition == 0){
            outRect.set(0,mHeaderHeight,0,0);
        }
    }
}
